﻿
namespace SilverlightServices.Web
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.ServiceModel.DomainServices.Hosting;
    using System.ServiceModel.DomainServices.Server;


    // TODO: Create methods containing your application logic.
    [EnableClientAccess()]
    public class CalculatorDomainService : DomainService
    {
        [Invoke]
        public int SumNums(int numOne, int numTwo)
        {
            return numOne + numTwo;
        }

    }
}


